/**********************************************************************************************************************
 *
 * Project:    mGameEngine
 * File:       text_view.h
 * Author:     k.swiniarsk2
 * Created on: Sep 6, 2013
 *
 **********************************************************************************************************************/

#ifndef TEXT_VIEW_H_
#define TEXT_VIEW_H_

#include "view.h"
#include "../graphics.h"

namespace mGameEngine
{
namespace GUI
{

class TextView: public View
{
protected:
	String _text;
    Graphics::Font *_font;

public:
	TextView();
	virtual ~TextView();

	const String &getText() const
	{
		return _text;
	}

	void setText(const String &text)
	{
		_text = text;
	}

    Graphics::Font* getFont() const
	{
		return _font;
	}

    void setFont(Graphics::Font* font)
	{
		_font = font;
	}
};

} // namespace GUI
} // namespace mGameEngine
#endif /* TEXT_VIEW_H_ */
